﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CPBZX_Query.aspx.cs" Inherits="Web.Page.CPBZX_Query" %>

<%@ Register TagPrefix="cc1" Namespace="Liaojy.UI.WebControls" Assembly="Liaojy.UI.WebControls" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../Css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>

        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
         <tr>
                    <td >
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td width="15" >
                                    <img src="../images/tab_03_1.gif" width="15"  />
                                </td>
                                <td style="text-align:left; vertical-align:bottom" width="100%" background="../images/tab_05_1.gif">
                                &nbsp;<cc1:HoverButton id="btnAdd" runat="server" MouseOverImageUrl="../images/btn_add1.png" ImageUrl="../images/btn_add0.png" MouseDownImageUrl="../images/btn_add2.png" onclick="btnAdd_Click"
				></cc1:HoverButton>
                </td>
                                <td width="14">
                                    <img src="../images/tab_07_1.gif" width="14"  />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>

                 <tr>
                    <td >
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td width="15" >
                                    <img src="../images/tab_20_1.gif" width="15"  />
                                </td>
                                <td background="../images/tab_21_1.gif">
                                </td>
                                <td width="14">
                                    <img src="../images/tab_22_1.gif" width="14"  alt="" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
        </table>
        <p />

            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                    <td height="30">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td width="15" height="30">
                                    <img src="../images/tab_03.gif" width="15" height="30" />
                                </td>
                                <td width="1101" background="../images/tab_05.gif">
                                    <img src="../images/311.gif" width="16" height="16" />
                                    <span class="STYLE4">
                                        <asp:Label ID="lbTitle" runat="server" CssClass="title"></asp:Label>&nbsp;</span><asp:Label
                                            ID="lbResult" runat="server" Font-Size="9pt" ForeColor="#FF3300"></asp:Label>
                                </td>
                                <td width="281" background="../images/tab_05.gif" align="right">
                                    &nbsp;</td>
                                <td width="14">
                                    <img src="../images/tab_07.gif" width="14" height="30" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td width="9" background="../images/tab_12.gif">
                                    &nbsp;
                                </td>
                                <td bgcolor="#f3ffe3">
                                    <table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#c0de98"
                                       >
                                        <tr id="list">
                                            <td colspan="4" style="background: #FFFFFF; text-align: left;" valign="top">
                                                <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                                                    AutoGenerateColumns="False" CellPadding="3" CellSpacing="1" DataKeyNames="ID" 
                                                    HorizontalAlign="Left" OnPageIndexChanged="GridView1_PageIndexChanged" 
                                                    OnPageIndexChanging="GridView1_PageIndexChanging" 
                                                    OnRowDataBound="GridView1_RowDataBound" OnRowDeleting="GridView1_RowDeleting" 
                                                    Width="100%">
                                                    <Columns>
                                                        <asp:BoundField DataField="ID" Visible="False">
                                                        <FooterStyle BorderColor="#00CC00" BorderStyle="Solid" />
                                                        <HeaderStyle BackColor="#CAE0AC" BorderColor="#00CC00" BorderStyle="Solid" 
                                                            CssClass="STYLE2" Font-Bold="True" Font-Size="9pt" HorizontalAlign="Center" 
                                                            VerticalAlign="Middle" />
                                                        <ItemStyle BorderColor="#00CC00" BorderStyle="Solid" Font-Size="9pt" />
                                                        </asp:BoundField>
                                                        <asp:HyperLinkField DataNavigateUrlFields="ID" 
                                                            DataNavigateUrlFormatString="CPBZX_Edit.aspx?id={0}" DataTextField="BH" 
                                                            HeaderText="包装箱编号">
                                                        <FooterStyle BorderColor="#00CC00" BorderStyle="Solid" />
                                                        <HeaderStyle BackColor="#CAE0AC" BorderColor="#00CC00" BorderStyle="Solid" 
                                                            CssClass="STYLE2" Font-Bold="True" Font-Size="9pt" Height="20px" 
                                                            HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        <ItemStyle BorderColor="#00CC00" BorderStyle="Solid" Font-Size="9pt" 
                                                            HorizontalAlign="Center" Width="100px" />
                                                        </asp:HyperLinkField>
                                                        <asp:BoundField DataField="MC" HeaderText="包装箱名称">
                                                        <HeaderStyle BackColor="#CAE0AC" BorderColor="#00CC00" BorderStyle="Solid" 
                                                            CssClass="STYLE2" Font-Bold="True" Font-Size="9pt" Height="20px" 
                                                            HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        <ItemStyle BorderColor="#00CC00" BorderStyle="Solid" Font-Size="9pt" 
                                                            Width="120px" />
                                                        </asp:BoundField>
                                                        <asp:TemplateField HeaderText="包装类型">
                                                        <ItemTemplate><%# Convert.ToInt32(Eval("BZXLX")) == 0 ? "普通包装" : "标准包装"%></ItemTemplate>
                                                        <HeaderStyle BackColor="#CAE0AC" BorderColor="#00CC00" BorderStyle="Solid" 
                                                            CssClass="STYLE2" Font-Bold="True" Font-Size="9pt" HorizontalAlign="Center" 
                                                            VerticalAlign="Middle" />
                                                        <ItemStyle BorderColor="#00CC00" BorderStyle="Solid" Font-Size="9pt" />
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="WCHANG" HeaderText="外空-长">
                                                        <HeaderStyle BackColor="#CAE0AC" BorderColor="#00CC00" BorderStyle="Solid" 
                                                            CssClass="STYLE2" Font-Bold="True" Font-Size="9pt" HorizontalAlign="Center" 
                                                            VerticalAlign="Middle" />
                                                        <ItemStyle BorderColor="#00CC00" BorderStyle="Solid" Font-Size="9pt" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="WKUAN" HeaderText="外空-宽">
                                                        <HeaderStyle BackColor="#CAE0AC" BorderColor="#00CC00" BorderStyle="Solid" 
                                                            CssClass="STYLE2" Font-Bold="True" Font-Size="9pt" HorizontalAlign="Center" 
                                                            VerticalAlign="Middle" />
                                                        <ItemStyle BorderColor="#00CC00" BorderStyle="Solid" Font-Size="9pt" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="WGAO" HeaderText="外空-高">
                                                        <HeaderStyle BackColor="#CAE0AC" BorderColor="#00CC00" BorderStyle="Solid" 
                                                            CssClass="STYLE2" Font-Bold="True" Font-Size="9pt" HorizontalAlign="Center" 
                                                            VerticalAlign="Middle" />
                                                        <ItemStyle BorderColor="#00CC00" BorderStyle="Solid" Font-Size="9pt" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="NCHANG" HeaderText="内空-长">
                                                        <HeaderStyle BackColor="#CAE0AC" BorderColor="#00CC00" BorderStyle="Solid" 
                                                            CssClass="STYLE2" Font-Bold="True" Font-Size="9pt" HorizontalAlign="Center" 
                                                            VerticalAlign="Middle" />
                                                        <ItemStyle BorderColor="#00CC00" BorderStyle="Solid" Font-Size="9pt" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="NKUAN" HeaderText="内空-宽">
                                                        <HeaderStyle BackColor="#CAE0AC" BorderColor="#00CC00" BorderStyle="Solid" 
                                                            CssClass="STYLE2" Font-Bold="True" Font-Size="9pt" HorizontalAlign="Center" 
                                                            VerticalAlign="Middle" />
                                                        <ItemStyle BorderColor="#00CC00" BorderStyle="Solid" Font-Size="9pt" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="NGAO" HeaderText="内空-高">
                                                        <HeaderStyle BackColor="#CAE0AC" BorderColor="#00CC00" BorderStyle="Solid" 
                                                            CssClass="STYLE2" Font-Bold="True" Font-Size="9pt" HorizontalAlign="Center" 
                                                            VerticalAlign="Middle" />
                                                        <ItemStyle BorderColor="#00CC00" BorderStyle="Solid" Font-Size="9pt" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="TJ" HeaderText="体积">
                                                        <HeaderStyle BackColor="#CAE0AC" BorderColor="#00CC00" BorderStyle="Solid" 
                                                            CssClass="STYLE2" Font-Bold="True" Font-Size="9pt" HorizontalAlign="Center" 
                                                            VerticalAlign="Middle" />
                                                        <ItemStyle BorderColor="#00CC00" BorderStyle="Solid" Font-Size="9pt" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="ZL" HeaderText="重量">
                                                        <HeaderStyle BackColor="#CAE0AC" BorderColor="#00CC00" BorderStyle="Solid" 
                                                            CssClass="STYLE2" Font-Bold="True" Font-Size="9pt" HorizontalAlign="Center" 
                                                            VerticalAlign="Middle" />
                                                        <ItemStyle BorderColor="#00CC00" BorderStyle="Solid" Font-Size="9pt" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="BZFS" HeaderText="包装方式">
                                                        <HeaderStyle BackColor="#CAE0AC" BorderColor="#00CC00" BorderStyle="Solid" 
                                                            CssClass="STYLE2" Font-Bold="True" Font-Size="9pt" HorizontalAlign="Center" 
                                                            VerticalAlign="Middle" />
                                                        <ItemStyle BorderColor="#00CC00" BorderStyle="Solid" Font-Size="9pt" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="BZ" HeaderText="备注">
                                                        <HeaderStyle BackColor="#CAE0AC" BorderColor="#00CC00" BorderStyle="Solid" 
                                                            CssClass="STYLE2" Font-Bold="True" Font-Size="9pt" HorizontalAlign="Center" 
                                                            VerticalAlign="Middle" />
                                                        <ItemStyle BorderColor="#00CC00" BorderStyle="Solid" Font-Size="9pt" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="SL" HeaderText="数量">
                                                        <HeaderStyle BackColor="#CAE0AC" BorderColor="#00CC00" BorderStyle="Solid" 
                                                            CssClass="STYLE2" Font-Bold="True" Font-Size="9pt" HorizontalAlign="Center" 
                                                            VerticalAlign="Middle" />
                                                        <ItemStyle BorderColor="#00CC00" BorderStyle="Solid" Font-Size="9pt" />
                                                        </asp:BoundField>
                                                        <asp:TemplateField InsertVisible="False" ShowHeader="False">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="btnDelete" runat="server" CausesValidation="False" 
                                                                    CommandName="Delete" ImageUrl="~/images/del.png" 
                                                                    onclientclick="javascript:return confirm('您确认要删除吗？');" Text="删除"  />
                                                            </ItemTemplate>
                                                            <HeaderStyle BackColor="#CAE0AC" BorderColor="#00CC00" BorderStyle="Solid" />
                                                            <ItemStyle BorderColor="#00CC00" BorderStyle="Solid" HorizontalAlign="Center" 
                                                                VerticalAlign="Middle" Width="60px" />
                                                        </asp:TemplateField>
                                                    </Columns>
                                                    <PagerStyle CssClass="pageStyle" />
                                                </asp:GridView>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td width="9" background="../images/tab_16.gif">
                                    &nbsp;
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td height="29">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td width="15" height="29">
                                    <img src="../images/tab_20.gif" width="15" height="29" />
                                </td>
                                <td background="../images/tab_21.gif">
                                    <asp:UpdateProgress ID="UpdateProgress1" runat="server">
                                        <ProgressTemplate>
                                            <img src="../images/indicator.gif" alt="加载中..." />&nbsp;&nbsp;Loading ...
                                        </ProgressTemplate>
                                    </asp:UpdateProgress>
                                </td>
                                <td width="14">
                                    <img src="../images/tab_22.gif" width="14" height="29" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
